<%--
  Created by IntelliJ IDEA.
  User: Moataz
  Date: Mar 19, 2009
  Time: 9:50:05 PM
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head><title>4h Signup Confirmation</title></head>
<body>
<%@ include file="header.jspf" %>

<h3>Thank you for volunteering for ${position.name} position
    in ${event.name}</h3>
<br>
<%@ include file="eventDetailTable.jspf" %>
<br>
<table border="1" width="100%">
    <tr>
        <td colspan=3 BGCOLOR="limegreen"><h3><strong>Position:</strong> ${position.name}</h3></td>
    </tr>
    <tr>
        <td colspan=3><strong>Description:</strong> ${position.description}</td>
    </tr>
    <tr>
        <td><strong>Location:</strong> ${position.location}</td>
        <td><strong>Start Date and Time:</strong> ${position.startDateAndTime}</td>
        <td><strong>End Date and Time:</strong> ${position.endDateAndTime}</td>
    </tr>
    <tr>
        <td colspan=3>
            <h4>Volunteers</h4>
            <ul>
                <c:forEach var="positionVolunteer" items="${position.volunteers}">
                    <li>${positionVolunteer.firstName} ${positionVolunteer.lastName}</li>
                </c:forEach>
            </ul>
        </td>
    </tr>
</table>
<table width="100%">
    <tr>
        <td align="center">
            <form action="eventDetails" method="get">
                <input type="hidden" name="eventID" value="${event.id}"/>
                <input type="submit" value="OK"/>
            </form>
        </td>
    </tr>
</table>
<br>
<br>
<%@ include file="footer.jspf" %>
</body>
</html>